package com.mikgonz.farkle.database;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

@DatabaseTable(tableName = "messages")
public class Message {
	
	@DatabaseField(useGetSet = true, canBeNull = false, generatedId = true)
	private int _Id;

	@DatabaseField(useGetSet = true, canBeNull = false)
	private String chatter;

	@DatabaseField(useGetSet = true, canBeNull = false)
	private String sender;

	@DatabaseField(useGetSet = true, canBeNull = false)
	private String body;

	public Message() {
		super();
	}

	public Message(String chatter, String sender, String body) {
		super();
		this.chatter = chatter;
		this.sender = sender;
		this.body = body;
	}

	public String getChatter() {
		return chatter;
	}

	public void setChatter(String chatter) {
		this.chatter = chatter;
	}

	public String getSender() {
		return sender;
	}

	public void setSender(String sender) {
		this.sender = sender;
	}

	public String getBody() {
		return body;
	}

	public void setBody(String body) {
		this.body = body;
	}

	public int get_Id() {
		return _Id;
	}

	public void set_Id(int _Id) {
		this._Id = _Id;
	}


	
}
